#include<stdio.h>
int main()
{
    //freopen("in.txt","r",stdin);
    int a,b;
    char c;
    while (scanf("%d %c %d",&a,&c,&b) != EOF && c != '?')
    {
        if (c == '+') printf("%d\n",a+b);
        if (c == '-') printf("%d\n",a-b);
        if (c == '*') printf("%d\n",a*b);
        if (c == '/') printf("%d\n",a/b);
    }
}